export default{
    updateState(state,data){
        for(var item in data){
            if(data.hasOwnProperty(item)){
                state[item] = data[item];
            }
        }
    }
}